package com.docking.heylo.dao.mapper;

import com.docking.heylo.dao.entity.Dict;
import com.docking.heylo.dao.entity.DictExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface DictMapper {
    long countByExample(DictExample example);

    int deleteByExample(DictExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Dict record);

    int insertSelective(Dict record);

    List<Dict> selectByExample(DictExample example);

    Dict selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Dict record, @Param("example") DictExample example);

    int updateByExample(@Param("record") Dict record, @Param("example") DictExample example);

    int updateByPrimaryKeySelective(Dict record);

    int updateByPrimaryKey(Dict record);

    List<Map<String,Object>> selectConfByParentName(@Param("name") String conf);


    Dict selectByParentAndName(@Param("parentName") String app_config, @Param("name") String name);
}